<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<title>Mytee</title>
	<link rel="stylesheet" type="text/css" href="/api/css/home.css">
</head>
<body>
<div class="goods">
	<div class="goods-detail">
		@if(!empty($product_attr_maps))
		<div class="goods-detail-info">
			<h3>商品信息</h3>
			<table cellspacing="2" cellpadding="2">

				@for($i=0;$i<sizeof($product_attr_maps);$i++)
					@if(($i%2)===0)
				    <tr>
					@endif
					<td>{{isset($product_attr_maps[$i]->attr_name)?$product_attr_maps[$i]->attr_name:''}}：{{isset($product_attr_maps[$i]->attr_value)?$product_attr_maps[$i]->attr_value:''}}</td>
					@if(($i%2)!==0)
					</tr>
					@endif
				@endfor
			</table>
		</div>
		@endif
		@if(isset($temp_size_format->temp_sizes)&&!empty($temp_size_format->temp_sizes)&&isset($temp_size_format->size_list)&&!empty($temp_size_format->size_list))
		<div class="goods-detail-size">
			<h3>尺码信息</h3>
			<div class="table-nav">
			<table cellspacing="2" cellpadding="2">
				<thead>
				<tr>
					@if(isset($temp_size_format->size_list))
						@foreach($temp_size_format->size_list as $size_value)
					     <td>{{isset($size_value)?$size_value:''}}</td>
						@endforeach
					@endif
				</tr>
				</thead>
				<tbody>
				@if(isset($temp_size_format->temp_sizes))
					@foreach($temp_size_format->temp_sizes as $temp_size)
						<tr>
							@foreach($temp_size as $size)
							<td>{{isset($size)?$size:''}}</td>
							@endforeach
						</tr>
					@endforeach
				@endif
				</tbody>
			</table>
			</div>
		</div>
		@endif
		@if(isset($temp_size_format->measure_method_image))
		<div class="goods-detail-meter">
			<h3>测量方式</h3>
			<img src="{{isset($temp_size_format->measure_method_image)?$temp_size_format->measure_method_image:''}}">
		</div>
		@endif
	</div>
</div>
</body>
</html>
